package top.infopub.mgr.cap.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;

import top.infopub.mgr.cap.dao.LookInfoBankDao;
import top.infopub.model.cap.LookInfoBank;
import top.infopub.mgr.cap.service.LookInfoBankService;

import java.util.List;

@Service
public class LookInfoBankServiceImpl extends GenericServiceImpl<LookInfoBank, String> implements
		LookInfoBankService {

	@Autowired
	private LookInfoBankDao lookInfoBankDao;

	@Override
	public GenericDao<LookInfoBank, String> getDao() {
		return lookInfoBankDao;
	}


	@Override
	public List<LookInfoBank> selectByProCode(String proCode) {
		return lookInfoBankDao.selectByProCode(proCode);
	}
}
